package com.cn.jinl.api;

import com.cn.jinl.domain.LinePei;
import com.cn.jinl.domain.LinePeiAttr;
import com.cn.jinl.domain.LinePeiBan;
import com.cn.jinl.domain.LinePeiOut;
import com.cn.jinl.utils.QueryForm;

import java.util.List;
import java.util.Map;

public interface ILinePeiService {

    Map<String,Object> getLinePeiListMap(QueryForm queryForm)throws Exception;

    String addLinePei(LinePei linePei)throws Exception;

    String updateLinePei(LinePei linePei) throws Exception;

    String addLinePeiOut(LinePeiOut linePeiOut)throws Exception;

    List<LinePeiAttr> getLinePeiAttrs(String peiId)throws Exception;
    List<LinePeiBan> getLinePeiBans(String peiId)throws Exception;
    List<LinePeiOut> getLinePeiOuts(String peiId)throws Exception;

    List<LinePei> getLinePeiLists(QueryForm queryForm)throws Exception;

    Map<String,List<Double>> getFirstPageLinePeis(QueryForm queryForm)throws Exception;

    List<LinePei> getFirstLinePeiList()throws Exception;

    Map<String,Object> getFirstPageFuLiaoInfo()throws Exception;

}
